package android.slc.icr.core.entity;

public class IcrMessageExtra {
    private String tag;
    private String relate;//消息标记
    private String relateId;

    public IcrMessageExtra(String tag, String relate, String relateId) {
        this.tag = tag;
        this.relate = relate;
        this.relateId = relateId;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getRelate() {
        return relate;
    }

    public void setRelate(String relate) {
        this.relate = relate;
    }

    public String getRelateId() {
        return relateId;
    }

    public void setRelateId(String relateId) {
        this.relateId = relateId;
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public static class Builder {
        private String tag;
        private String relate;//消息标记
        private String relateId;

        public Builder setTag(String tag) {
            this.tag = tag;
            return this;
        }

        public Builder setRelate(String relate) {
            this.relate = relate;
            return this;
        }

        public Builder setRelateId(String relateId) {
            this.relateId = relateId;
            return this;
        }

        public IcrMessageExtra build() {
            return new IcrMessageExtra(tag, relate, relateId);
        }
    }
}

